// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov  Date: 2007-9-15 18:53:58

// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   k3.java

package com.zelix;

import java.awt.Component;
import java.awt.Container;
import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;
import java.util.EventObject;
import javax.swing.*;

// Referenced classes of package com.zelix:
//            j3, to, yw, tb, 
//            as

class k3 extends j3
{

    JButton y;
    private static String z = z(z("\177D\0170\026tW\t\fNpQ\031P\003oU\027\021\034hC#\f\0353T\004\036\022h\\\0250\026tW\t\f_=_\n:\007s\036\005\035\025|E\r\f;xY\006\020\0071\020\002\031\035~U\r:\007s\036\005\035\025|E\r\f;xY\006\020\0071\020\t\035\037mr\025\026]yU\007\031\006qD)\035\032zX\025QH\177D\017/\032yD\tE\036|HI\b\001xF\b\027\006nr\025\026]yU\007\031\006qD6\021\027iXMX\034vr\025\026]yU\007\031\006qD6\021\027iXMX\020|^\002\035\037_D\017V\027xV\000\r\037ig\b\034\007u\034A\020\026q@#\f\0353T\004\036\022h\\\025/\032yD\tQHmB\004\016\032rE\022:\007s\036\002\035\035iU\023 N~_\017\f\022t^\004\n]jY\005\f\0337\001SWB-\000Z\b\001xF\b\027\006nr\025\026]\177_\025\f\034p\r\002\027\035iQ\b\026\026o\036\003\027\007i_\fUB-\013\021\n\026kY\016\r\000_D\017V\033xY\006\020\007 R\025\026;xY\006\020\007&@\023\035\005t_\024\0131i^O\017\032yD\tE\021i^6\021\027iXZ\027\030_D\017V\020x^\025\035\001E\r\002\027\035iQ\b\026\026o\036\026\021\027iXKKD2\001QHHr[#\f\0353D\016\bNmB\004\016\032rE\022:\007s\036\025\027\003&_\n:\007s\036\t\035\032zX\025E\021i^)\035\032zX\025C\034vr\025\026]jY\005\f\033 R\025\026$tT\025\020H~Q\017\033\026qr\025\026]~U\017\f\026oh\\\033\034sD\000\021\035xBO\017\032yD\tRE/\037PHC&S\000\026\020x\\#\f\0353D\016\bNmB\004\016\032rE\022:\007s\036\025\027\003&S\000\026\020x\\#\f\0353X\004\021\024uD\\\032\007sx\004\021\024uDZ\033\022sS\004\0241i^O\017\032yD\tE\021i^6\021\027iXZ\020\026q@#\f\0353S\004\026\007xB9E\020r^\025\031\032sU\023V\004tT\025\020Y%\007NIC-\013\t\035\037mr\025\026]i_\021E\003oU\027\021\034hC#\f\0353D\016\bHuU\r\b1i^O\020\026tW\t\fN\177D\0170\026tW\t\fHuU\r\b1i^O\017\032yD\tE\021i^6\021\027iX"));
    private static String A[];

    k3(JFrame jframe, String s, String s1, String s2, String s3, String s4, as as, 
            yw yw1)
    {
        super(jframe, s, s1, s2, s3, s4, as, yw1);
    }

    public void actionPerformed(ActionEvent actionevent)
    {
label0:
        {
            Object obj = actionevent.getSource();
            if(obj == y)
            {
                p();
                if(!tb.b)
                    break label0;
            }
            super.actionPerformed(actionevent);
        }
    }

    public void keyPressed(KeyEvent keyevent)
    {
label0:
        {
            boolean flag = tb.b;
            Object obj = keyevent.getSource();
            if(keyevent.getKeyCode() == 10)
            {
                if(obj == y)
                {
                    p();
                    if(!flag)
                        break label0;
                }
                super.keyPressed(keyevent);
                if(!flag)
                    break label0;
            }
            super.keyPressed(keyevent);
        }
    }

    void p()
    {
        super.t = true;
        a();
        super.g.a(null, new Integer(2));
    }

    void a(String s, String s1, StringBuffer stringbuffer, Container container)
    {
        y = new JButton(A[3]);
        y.setToolTipText(to.b(to.V));
        container.add(y, A[6]);
        super.q = new JButton(s);
        super.q.setToolTipText(s1);
        container.add(super.q, A[2]);
        super.r = new JButton(A[1]);
        super.r.setToolTipText(to.b(to.Z));
        container.add(super.r, A[5]);
        super.s = new JButton(A[0]);
        super.s.setToolTipText(to.b(to.ab));
        container.add(super.s, A[4]);
        y.addKeyListener(this);
        super.q.addKeyListener(this);
        super.r.addKeyListener(this);
        super.s.addKeyListener(this);
        y.addActionListener(this);
        super.q.addActionListener(this);
        super.r.addActionListener(this);
        super.s.addActionListener(this);
        stringbuffer.append(z);
    }

    private static char[] z(String str) {
        char ac[] = str.toCharArray();
        int clen = ac.length;
        if (clen >= 2)
            return ac;
        ac[0] ^= 0x73;
        return ac;
    }

    private static String z(char[] chs) {
        for (int i = 0; i < chs.length; i++) {
            byte key = 0;
            switch (i % 5) {
                case 0:
                    key = 0x1d;
                    break;
                case 1:
                    key = 48;
                    break;
                case 2:
                    key = 97;
                    break;
                case 3:
                    key =120;
                    break;
                default:
                    key =115;
                    break;
            }
            chs[i] ^= key;
        }
        return new String(chs).intern();
    }

    static
    {
        String as[] = new String[7];
        as[0] = z(z("UU\r\b"));
        as[1] = z(z("^Q\017\033\026q"));
        as[2] = z(z("r[#\f\035"));
        as[3] = z(z("MB\004\016\032rE\022"));
        as[4] = z(z("uU\r\b1i^"));
        as[5] = z(z("~Q\017\033\026qr\025\026"));
        as[6] = z(z("mB\004\016\032rE\022:\007s"));
        A = as;
    }
}